.class public Lcom/estrongs/android/ui/dialog/y;
.super Ljava/lang/Object;
.source "GuideOpenDiskAnalyzer.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/dialog/y$a;
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private a(Landroid/content/Context;Ljava/lang/String;)V
    .locals 1

    .line 4
    invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    .line 5
    invoke-virtual {v0, p2}, Landroid/content/pm/PackageManager;->getLaunchIntentForPackage(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object p2

    const/high16 v0, 0x34000000

    .line 6
    invoke-virtual {p2, v0}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    if-eqz p2, :cond_0

    .line 7
    invoke-virtual {p1, p2}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    :cond_0
    return-void
.end method

.method private b(Landroid/content/Context;)V
    .locals 2

    .line 1
    new-instance v0, Lcom/estrongs/android/ui/dialog/y$a;

    const-string v1, "https://play.google.com/store/apps/details?id=com.storage.space.es.diskanalyzer&utm_source=estrongs&utm_medium=fileexplorer&utm_campaign=esfileplorer"

    invoke-direct {v0, p0, p1, v1}, Lcom/estrongs/android/ui/dialog/y$a;-><init>(Lcom/estrongs/android/ui/dialog/y;Landroid/content/Context;Ljava/lang/String;)V

    .line 2
    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    return-void
.end method


# virtual methods
.method public a(Landroid/content/Context;)V
    .locals 2

    const-string v0, "com.storage.space.es.diskanalyzer"

    .line 1
    invoke-static {v0}, Lcom/estrongs/android/pop/utils/k;->b(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 2
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/ui/dialog/y;->a(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_0

    .line 3
    :cond_0
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dialog/y;->b(Landroid/content/Context;)V

    :goto_0
    return-void
.end method
